﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for DA_Reports
/// </summary>
public class DA_Reports
{
    AuditBillingEntities objABEnt;
    public DA_Reports()
    {
        //
        // TODO: Add constructor logic here
        //
    }

    public List<usp_GetProposedInvoiceReport_Result> DAGetProposedInvoiceReport(PLProposedInvoiceReportSearchCriteria pObjSearch)
    {
        using (objABEnt = new AuditBillingEntities())
        {
            var objRes = objABEnt.usp_GetProposedInvoiceReport(pObjSearch.CompanyIDs, pObjSearch.ClientIDs, pObjSearch.ContractIDs, pObjSearch.PaymentModeIDs, pObjSearch.InvStartDate, pObjSearch.InvEndDate);
            return objRes.ToList();
        }
    }
}